8 research outputs found

    Generic programming using Higher Kinded Data

    Get PDF
    This thesis describes datatype-generic programming, what it is, and how it is done in Scala. The thesis covers ways of thinking about datatype-generic programming and today's tools and libraries for datatype-generic programming in Scala and summarize how to use them. A new library called perspective for datatype-generic programming with higher kinded data is presented. How these libraries, including perspective, work together with sum types is be covered. Benchmarks are presented on both runtime and compile time performance of perspective and other libraries. perspective manages to keep up in performance with other libraries while offering faster code at the expense of longer compile time if a developer opts into this. Finally, an example language-integrated query library built on perspective is described.Masteroppgave i informatikkINF399MAMN-INFMAMN-PRO

    Characterizing regime shifts in the marine environment

    No full text
    Recent years have seen a plethora of studies reporting that ‘regime shifts’ have occurred in the North Atlantic and Pacific Oceans during the last century. In many cases, the criteria used to distinguish a regime shift have not been explicitly stated. In other cases, a formal definition has been proposed and the data set assessed against it. Developing a universal quantitative definition for identifying and distinguishing between purported climatic and ecological regime shifts has proved problematic as many authors have developed criteria that seem unique to the system under study. Consequently, they throw little light on the drivers of ecological regime shifts. Criteria used to define regime shifts are reviewed and on the basis of evidence from purported regime shifts, common characteristics in the speed and amplitude of the changes and the duration of quasi-stable states are used to propose a more clearly defined set of criteria for defining climatic and ecological regime shifts. Causal drivers of regime shifts are explored using correlation analysis. Limitations of these methods are discussed

    Oxygen targets and 6-month outcome after out of hospital cardiac arrest: a pre-planned sub-analysis of the targeted hypothermia versus targeted normothermia after Out-of-Hospital Cardiac Arrest (TTM2) trial

    No full text
    International audienceAbstract Background Optimal oxygen targets in patients resuscitated after cardiac arrest are uncertain. The primary aim of this study was to describe the values of partial pressure of oxygen values (PaO 2 ) and the episodes of hypoxemia and hyperoxemia occurring within the first 72 h of mechanical ventilation in out of hospital cardiac arrest (OHCA) patients. The secondary aim was to evaluate the association of PaO 2 with patients’ outcome. Methods Preplanned secondary analysis of the targeted hypothermia versus targeted normothermia after OHCA (TTM2) trial. Arterial blood gases values were collected from randomization every 4 h for the first 32 h, and then, every 8 h until day 3. Hypoxemia was defined as PaO 2  300 mmHg. Mortality and poor neurological outcome (defined according to modified Rankin scale) were collected at 6 months. Results 1418 patients were included in the analysis. The mean age was 64 ± 14 years, and 292 patients (20.6%) were female. 24.9% of patients had at least one episode of hypoxemia, and 7.6% of patients had at least one episode of severe hyperoxemia. Both hypoxemia and hyperoxemia were independently associated with 6-month mortality, but not with poor neurological outcome. The best cutoff point associated with 6-month mortality for hypoxemia was 69 mmHg (Risk Ratio, RR = 1.009, 95% CI 0.93–1.09), and for hyperoxemia was 195 mmHg (RR = 1.006, 95% CI 0.95–1.06). The time exposure, i.e., the area under the curve (PaO 2 -AUC), for hyperoxemia was significantly associated with mortality ( p = 0.003). Conclusions In OHCA patients, both hypoxemia and hyperoxemia are associated with 6-months mortality, with an effect mediated by the timing exposure to high values of oxygen. Precise titration of oxygen levels should be considered in this group of patients. Trial registration : clinicaltrials.gov NCT02908308 , Registered September 20, 2016

    Ventilatory settings in the initial 72 h and their association with outcome in out-of-hospital cardiac arrest patients: a preplanned secondary analysis of the targeted hypothermia versus targeted normothermia after out-of-hospital cardiac arrest (TTM2) trial

    No full text
    International audienc
    corecore